﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Lonewolf.Entity;
using Lonewolf.Infrastructure;
using Lonewolf.IService;
using Microsoft.AspNetCore.Mvc;

namespace Lonewolf.WebApp.Controllers
{
    public class UserController : Controller
    {
        //public IUserService _context { get; set; }
        public IActionResult Index()
        {
            //var list = _context.Query();
            //var GG = new JsonResult<User>
            //{
            //    code = 0,
            //    data = list.ToList(),
            //    success = true,
            //    message = "获取数据成功！"
            //};
            return Content("");
        }
        public IActionResult Auto()
        {
            //var list = _context.Query();
            //var GG = new JsonResult<User>
            //{
            //    code = list.Count(),
            //    data = list.ToList(),
            //    success = true,
            //    message = "获取数据成功！"
            //};
            return Content("");
        }
        }
}